UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

All OL 8 world-writable directories must be group-owned by root, sys, bin, or an application group.


Overview

Finding ID Version Rule ID IA Controls Severity
V-248637 OL08-00-010710 SV-248637r779477_rule Medium
Description
If a world-writable directory is not group-owned by root, sys, bin, or an application Group Identifier (GID), unauthorized users may be able to modify files created by others. The only authorized public directories are the temporary directories supplied with the system or those designed to be temporary file repositories. The setting is normally reserved for directories used by the system and by users for temporary file storage, (e.g., /tmp), and for directories requiring global read/write access.
STIG Date
Oracle Linux 8 Security Technical Implementation Guide 2023-12-01

Details

Check Text ( C-52071r779475_chk )
The following command will discover and print world-writable directories that are not group-owned by a system account, given the assumption that only system accounts have a gid lower than 1000. Run it once for each local partition [PART]:

$ sudo find [PART] -xdev -type d -perm -0002 -gid +999 -print

If there is output, this is a finding.
Fix Text (F-52025r779476_fix)
Investigate any world-writable directories that are not group-owned by a system account and then delete the files or assign them to an appropriate group.